package com.core.bean;



import java.util.Date;

/**
 * 袁
 * 订单表
 */
public class ShoppingOrder {
    /**
     * 编号名
     */
    private String id;
    /**
     * 创建时间
     */

    private Date time;
    /**
     * 客户
     */
    private String customer;
    /**
     * 卖家，商铺
     */
    private String shop;
    /**
     * 支付产品描述
     */
    private String pay_product;
    /**
     * 支付流水号
     */
    private String pay_no;
    /**
     * 状态 0：新订单  1：完成
     */
    private int status;
    /**
     * 备注
     */
    private String notice;
    /**
     *  总价
     */
    private Double total;

    public ShoppingOrder() {
    }

    public ShoppingOrder(String id, Date time, String customer, String shop, String pay_product, String pay_no, int status, String notice, Double total) {
        this.id = id;
        this.time = time;
        this.customer = customer;
        this.shop = shop;
        this.pay_product = pay_product;
        this.pay_no = pay_no;
        this.status = status;
        this.notice = notice;
        this.total = total;
    }

    @Override
    public String toString() {
        return "ShoppingOrder{" +
                "id='" + id + '\'' +
                ", time=" + time +
                ", customer='" + customer + '\'' +
                ", shop='" + shop + '\'' +
                ", pay_product='" + pay_product + '\'' +
                ", pay_no='" + pay_no + '\'' +
                ", status=" + status +
                ", notice='" + notice + '\'' +
                ", total=" + total +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getShop() {
        return shop;
    }

    public void setShop(String shop) {
        this.shop = shop;
    }

    public String getPay_product() {
        return pay_product;
    }

    public void setPay_product(String pay_product) {
        this.pay_product = pay_product;
    }

    public String getPay_no() {
        return pay_no;
    }

    public void setPay_no(String pay_no) {
        this.pay_no = pay_no;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }
}
